#ifndef __ALL_H_
#define __ALL_H_
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include<signal.h>
#include <string.h>
#include <sqlite3.h>

#include "StdTCP.h"
#include "StdThread.h"
#include "StdSqlite.h"
#include "DLList.h"
#include "LinkQueue.h"
#include "ThreadPool.h"

#define true 1
#define false 0
typedef struct user_act
{
    DLList Friend ;
    char ID[20];
    char Name[20];
    char passwd[20];
    char Ccontent[1024];
    char Scontent[1024];
    char* adr;
    int  choice ;
    int sock;
    int status;  //1 or 0  zaixian
    //int flag ;    // yingda


}user_act;


#endif